package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 教师对象 teacher
 * 
 * @author ruoyi
 * @date 2024-02-25
 */
public class Teacher extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long tid;

    /** 学校表主键ID */
    @Excel(name = "学校表主键ID")
    private Long sid;

    /** 教师姓名 */
    @Excel(name = "教师姓名")
    private String teacherName;

    /** 教师性别 */
    @Excel(name = "教师性别")
    private String teacherSex;

    /** 教师年龄 */
    @Excel(name = "教师年龄")
    private String teacherAge;

    /** 教师电话 */
    @Excel(name = "教师电话")
    private String teacherPhone;

    /** 属于几年级（1.小学1 2.小学2 3.小学3 4.小学4 5.小学5 6.小学6 7.初一 8.初二 9.初三 10.高一 11.高二 12.高三 13.大一 14.大二 15.大三 16.大四 17.小升初 18.初升高） */
    @Excel(name = "属于几年级", readConverterExp = "1=.小学1,2=.小学2,3=.小学3,4=.小学4,5=.小学5,6=.小学6,7=.初一,8=.初二,9=.初三,1=0.高一,1=1.高二,1=2.高三,1=3.大一,1=4.大二,1=5.大三,1=6.大四,1=7.小升初,1=8.初升高")
    private Long teacherBelongToGrade;

    /** 属于几班（默认小学初中高中每个年级12个班） */
    @Excel(name = "属于几班", readConverterExp = "默=认小学初中高中每个年级12个班")
    private Long teacherBelongToClass;

    /** 职位（1.教师 2.班主任 3.年级主任） */
    @Excel(name = "职位", readConverterExp = "1=.教师,2=.班主任,3=.年级主任")
    private Long position;

    /** 学科（1.语文 2.数学 3.英语 4.美术 5.音乐 6.体育 7.科学 8.信息技术 9.品社 10.政治 11.地理 12.历史 13.物理 14.化学 15.生物） */
    @Excel(name = "学科", readConverterExp = "1=.语文,2=.数学,3=.英语,4=.美术,5=.音乐,6=.体育,7=.科学,8=.信息技术,9=.品社,1=0.政治,1=1.地理,1=2.历史,1=3.物理,1=4.化学,1=5.生物")
    private String discipline;

    /** 状态（1.正常 2.失效） */
    @Excel(name = "状态", readConverterExp = "1=.正常,2=.失效")
    private Long status;

    /** 是否删除（1.正常 2.已删除） */
    @Excel(name = "是否删除", readConverterExp = "1=.正常,2=.已删除")
    private Long isDelete;

    public void setTid(Long tid) 
    {
        this.tid = tid;
    }

    public Long getTid() 
    {
        return tid;
    }
    public void setSid(Long sid) 
    {
        this.sid = sid;
    }

    public Long getSid() 
    {
        return sid;
    }
    public void setTeacherName(String teacherName) 
    {
        this.teacherName = teacherName;
    }

    public String getTeacherName() 
    {
        return teacherName;
    }
    public void setTeacherSex(String teacherSex) 
    {
        this.teacherSex = teacherSex;
    }

    public String getTeacherSex() 
    {
        return teacherSex;
    }
    public void setTeacherAge(String teacherAge) 
    {
        this.teacherAge = teacherAge;
    }

    public String getTeacherAge() 
    {
        return teacherAge;
    }
    public void setTeacherPhone(String teacherPhone) 
    {
        this.teacherPhone = teacherPhone;
    }

    public String getTeacherPhone() 
    {
        return teacherPhone;
    }
    public void setTeacherBelongToGrade(Long teacherBelongToGrade) 
    {
        this.teacherBelongToGrade = teacherBelongToGrade;
    }

    public Long getTeacherBelongToGrade() 
    {
        return teacherBelongToGrade;
    }
    public void setTeacherBelongToClass(Long teacherBelongToClass) 
    {
        this.teacherBelongToClass = teacherBelongToClass;
    }

    public Long getTeacherBelongToClass() 
    {
        return teacherBelongToClass;
    }
    public void setPosition(Long position) 
    {
        this.position = position;
    }

    public Long getPosition() 
    {
        return position;
    }
    public void setDiscipline(String discipline)
    {
        this.discipline = discipline;
    }

    public String getDiscipline()
    {
        return discipline;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setIsDelete(Long isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Long getIsDelete() 
    {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("tid", getTid())
            .append("sid", getSid())
            .append("teacherName", getTeacherName())
            .append("teacherSex", getTeacherSex())
            .append("teacherAge", getTeacherAge())
            .append("teacherPhone", getTeacherPhone())
            .append("teacherBelongToGrade", getTeacherBelongToGrade())
            .append("teacherBelongToClass", getTeacherBelongToClass())
            .append("position", getPosition())
            .append("discipline", getDiscipline())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("isDelete", getIsDelete())
            .toString();
    }
}
